package GameLoop;

import vooga.core.event.EventManager;
import vooga.core.event.IEventHandler;

public class AbstractLevelTemplate extends AbstractScene {

	public AbstractLevelTemplate(EventManager em, String LevelUandR) {
		//this.uAndr  = reflection
		super(em);
		
		//trigger splash event, handle splash
		em.registerEventHandler("AbstractScene.Pause", new IEventHandler()
        {
            @Override
            public void handleEvent (Object o)
            {
                pause((AbstractScene) o);
            }

        });
	}
	
	
	protected void splash(){
		//TODO throw up a splash for some amount of time, config file/with default
		//TODO enter uAndr.render/update loop same amount of time later
	}
	
	
	protected void pause(AbstractScene curTemp) {
		// TODO Create pause based on config file; should be some kind of default pause easily overridden
	}
	
	

}
